package com.clouddisk.system.mapper;

import com.clouddisk.common.core.domain.entity.Share;
import com.clouddisk.common.core.mapper.BaseMapperPlus;
import com.clouddisk.system.domain.vo.share.ShareListVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShareMapper  extends BaseMapperPlus<ShareMapper,Share,Share> {

    List<ShareListVO> selectShareList(@Param("shareFilePath") String shareFilePath, @Param("shareBatchNum") String shareBatchNum, @Param("fileDeptName") String fileDeptName,
                                      @Param("beginCount") Long beginCount, @Param("pageCount") Long pageCount, @Param("userId") Long userId);
    int selectShareListTotalCount(@Param("shareFilePath") String shareFilePath, @Param("shareBatchNum") String shareBatchNum,
                                  @Param("fileDeptName") String fileDeptName, @Param("userId") Long userId);
}
